package chain_user_config

import (
	"chain_bridge_service/internal/pkg/core"
	"chain_bridge_service/internal/repository/mongodb"
	"chain_bridge_service/internal/services/chain_user_config"
	"go.uber.org/zap"
)

var _ Handler = (*handler)(nil)

type Handler interface {
	i()
	GetListByUserId() core.HandlerFunc
	Create() core.HandlerFunc
	Delete() core.HandlerFunc
	Update() core.HandlerFunc
	UpdateAddress() core.HandlerFunc
}

type handler struct {
	logger                 *zap.Logger
	chainUserConfigService chain_user_config.Service
	db                     mongodb.Repo
}

func New(logger *zap.Logger, db mongodb.Repo) Handler {
	return &handler{
		logger:                 logger,
		chainUserConfigService: chain_user_config.New(nil, db),
		db:                     db,
	}
}

func (h *handler) i() {}
